﻿using Prices;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace Prices.Test
{
    [TestClass()]
    public class PricesTest
    {
        [TestMethod()]
        [DeploymentItem("Prices.exe")]
        public void MainTest()
        {
            Prices_Accessor.Main();
        }

        [TestMethod()]
        [DeploymentItem("Prices.exe")]
        public void PriceIncreasedTest()
        {
            object sender = null;
            PriceIncreasedEventArgs eventArgs = new PriceIncreasedEventArgs(2, 5);
            Prices_Accessor.PriceIncreased(sender, eventArgs);
        }
    }
}
